package com.wolf.service;

import com.wolf.pojo.Wl_activity_config;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_activity_configService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_activity_config record);

    int insertSelective(Wl_activity_config record);

    Wl_activity_config selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_activity_config record);

    int updateByPrimaryKey(Wl_activity_config record);

    /**
     * 查询所有
     */
    List<Wl_activity_config> getAll();

    /**
     * 查询状态下拉框
     */
    List<Wl_activity_config> getByStatus();

    /**
     * 模糊查询
     */
    List<Wl_activity_config> fuzzyQuery(@Param("status")Integer status, @Param("activityname") String activityname);

    /**
     * 删除以及发送修改
     */
    int remove(@Param("status")Integer status,@Param("id") String id);
}
